function onAdvance(cid, skill, oldLevel, newLevel)
	if (skill == LEVEL_EXPERIENCE) then
		-- on level up heal player and give him mana
		doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
		doPlayerAddMana(cid, getPlayerMaxMana(cid))
	end
end
